package J11_15;

import java.util.Arrays;
import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String a = in.next();
        String[] ch = a.split("");
        Arrays.sort(ch);
        System.out.println();
        StringBuilder res = new StringBuilder();
        int n = 0;
        for (int i = 0; i < ch.length; i++) {
            if (ch[i].equals("0")) {
                n++;
            } else {
                res.append(ch[i]);
                while (n > 0) {
                    res.append("0");
                    n--;
                }
            }
        }
        System.out.println(res.toString());
    }
}
